<template>
	<view class="">
		<view class="header">
			<view class="basj">
				<image @click="gobacks" src="/static/dazi/bak.png" mode=""></image>
				<text class="title">选择语言</text>
			</view>
		</view>
		<view class="conshe">

			<view class="cosje">
				<view class="poeoens">
					<view class="alks" v-for="(item ,index) in 3" @click="chansele(index)">
						<view class="lksen">
							<image src="/static/dazi/xg.png" mode=""></image>
							<view class="enla" :class=" dounel ==index?'aseng':'' ">
								English
							</view>
						</view>
						<view class="jdov" v-if=" dounel ==index ">
							<image class="onse" src="/static/acti/slw.png" mode=""></image>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dounel: 0,
			}
		},
		methods: {
			chansele(i) {
				this.dounel = i
			},
			gobacks() {
				// #ifdef H5
				history.back();
				// #endif

				// #ifdef APP
				uni.navigateBack()
				// #endif

			},
		}
	}
</script>

<style lang="scss">
	.aseng {
		color: #FB75D6 !important;
		font-weight: 700;
	}
	
	.poeoens {
		margin: 20rpx 0;
	}
	
	.alks {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 24rpx 0;
		border-bottom: 1px solid #F8EFF9;
		display: flex;
		align-items: center;
	}
	
	.onse {
	
		width: 48rpx;
		height: 48rpx;
	
	}
	
	.lksen {
		display: flex;
		align-items: center;
	
		.enla {
			margin-left: 20rpx;
			color: #2A222F;
			font-size: 32rpx;
		}
	
		image {
			width: 60rpx;
			height: 60rpx;
			border-radius: 50%;
		}
	}
	
	.conshe {
		margin: 60rpx 0;
	}

	page {
		padding: 30rpx;
		background-color: #fff;
	}

	.basj {
		display: flex;
		align-items: center;
		height: 60rpx;

		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}

		.title {
			margin-left: 10rpx;
			color: #2A222F;
			font-size: 40rpx;
		}
	}

	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60rpx;

		letter-spacing: 2rpx;
		/* 字母间距 */
		font-weight: 600;
		// border: #dddddd solid 1px;

		.btn-side {
			position: absolute;
			line-height: 60rpx;
			font-size: 28rpx;
			cursor: pointer;

			&.right {
				right: 30rpx;
			}
		}
	}
</style>